
package edu.upc.clase.demo.service.impl;

import edu.upc.clase.demo.dao.ComprasDao;
import edu.upc.clase.demo.dao.PlanNegocioDao;
import edu.upc.clase.demo.entity.Compras;
import edu.upc.clase.demo.service.ComprasService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ComprasServiceImpl implements ComprasService {
    
            private static Logger log = LoggerFactory.getLogger(ComprasServiceImpl.class);

    @Autowired
    private ComprasDao comprasDao;

    @Override
    public Integer insertar(Compras c) {
        log.info("Insertando compra.............");
        return comprasDao.insertar(c);
    }
    
    
    
}
